<script setup>
import {ref} from "vue";

let info = ref("Hello, Vue!")
</script>

<template>
  <div>{{ info }}</div>
  <!--访问全局方法-->
  <div>{{ globalMethod(info) }}</div>
</template>

<style scoped>

</style>